package com.lewis.module.m2.api.bill.code.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.lewis.common.core.annotation.Excel;
import com.lewis.common.core.entity.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 账单编码对象 bill_code
 *
 * @author lewis
 * @date 2021-11-09
 */
@Data
@Accessors(chain = true)
@TableName("bill_code")
public class BillCode extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    @Excel(name = "id")
    private Integer id;

    @Excel(name = "是否隐藏 1：是 0：否（默认）")
    private Integer isDelete;

    @TableField(exist = false)
    @ApiModelProperty(value = "qq")
    private String qq;

    @Excel(name = "账单名")
    private String billName;

    @Excel(name = "用户id")
    private Long userId;
}